#ifndef LISTREADER_H
#define LISTREADER_H

#include "xlsxdocument.h"

#include <QObject>

class listReader
{
public:
    listReader();

    bool load(QString fn);
    bool next(QMap <QString, QString> &val);

private:
    QXlsx::Document *_xdoc;
    QStringList _header;
    int _rowstart;
    int _colstart;
    int _rowcur;
};

#endif // LISTREADER_H
